package de.koller.reason.render.obj;

import java.util.Arrays;
import java.util.HashSet;
import java.util.Set;

public interface IRenderObject {

	public Set<RenderEntity> getRenderEntities();
	
	public static class RenderEntity {
		
		public final Set<Polygon> polygons;
		public boolean renderLines = false;
		
		public RenderEntity( Polygon... polygons ) {
			this( new HashSet<>( Arrays.asList( polygons ) ) );
		}
		
		public RenderEntity( Set<Polygon> polygons ) {
			this.polygons = polygons;
		}
		
	}
	
}
